import request from '@/utils/request'

export function updateGoodsSale(data) {
  return request({
    url: '/goodsInvoice/goodsInvoice/singleAdd',
    method: 'put',
    data: data
  })
}

export function updateInvoice(data) {
  return request({
    url: '/goodsInvoice/goodsInvoice/updateInvoice',
    method: 'put',
    data: data
  })
}
